﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MVP_app_easy
{
    class FakeModel : IModelInterface
    {
        private List<string> _fakeContext = new List<string> { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
        private int _possition = 1;

        public string GetNextValue()
        {
            _possition = _possition + 1;
            return _fakeContext[_possition];
        }

        public string ShowCurrent()
        {
            return _fakeContext[_possition];
        }

        public string GetPreviousValue()
        {
            _possition = _possition - 1;
            return _fakeContext[_possition];
        }

        public string ResetPosition()
        {
            _possition = 0;
            return _fakeContext[_possition];
        }
    }
}
